package com.example.data_show.controller;


import com.example.data_show.entity.Daydate;
import com.example.data_show.entity.Marker_price;
import com.example.data_show.service.Marker_priceService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/marker_price")
public class Marker_priceController {
    @Resource
    private Marker_priceService markerPriceService;

    @GetMapping("/all")
    public List<Marker_price> findAll() {
        return markerPriceService.all();
    }
}
